#ifndef UNLOADCOMM_H
#define UNLOADCOMM_H

#include "command.h"
class UnloadCommand :
	public Command
{
public:
	UnloadCommand(SQLSystem* sql);
	~UnloadCommand();
	virtual int execute(string str);
	void saveToFile(string file, string delimiter, vector<string> columnsToSave, vector<Row *> rowsToSave, Table* table);
	//this method is called by execute to save the selected rows from the where clause to the file, with each element separated by delimiter
	Helper* helper;
};

#endif